import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_learn_vi/src/bean/bean_train.dart';
import 'package:flutter_learn_vi/src/page/train/train_history_widget.dart';

/// 创建人： Created by zhaolong
/// 创建时间：Created by  on 2021/1/16.
///
/// 可关注公众号：我的大前端生涯   获取最新技术分享
/// 可关注网易云课堂：https://study.163.com/instructor/1021406098.htm
/// 可关注博客：https://blog.csdn.net/zl18603543572
///
/// 打卡记录页面
///培训详情页面三
class TrainTabDetails3StudentPage extends StatefulWidget {
  //培训ID
  final TrainApproveBean approveBean;

  const TrainTabDetails3StudentPage({Key key, this.approveBean})
      : super(key: key);

  @override
  _TrainTabDetails3StudentPageState createState() =>
      _TrainTabDetails3StudentPageState();
}

class _TrainTabDetails3StudentPageState
    extends State<TrainTabDetails3StudentPage>
    with AutomaticKeepAliveClientMixin {
  @override
  bool get wantKeepAlive => true;

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return TrainHistoryWidget(
      approveBean: widget.approveBean,
      tag: "my-history",
    );
  }
}
